package com.njworkorder.Annotation;


import java.lang.annotation.*;
import java.util.concurrent.TimeUnit;

@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface CustomCache {
    String cacheNames() default "default";
    String key() default "";
    long ttl() default 120;
    TimeUnit timeUnit() default TimeUnit.MINUTES;
}
